package com.aceitunaproject.server;

import com.aceitunaproject.shared.util.BinaryObjectSerializer;
import com.aceitunaproject.shared.util.ObjectSerializer;

/**
 * Server configuration class
 * 
 * TODO: add object serializer based on application props, consider using
 * an instance vs static accessor
 *
 * TODO: get Handler map from configuration file.
 * 
 * 
 * @author Maciej Miechowicz
 */
public class ServerConfiguration {

	private static ObjectSerializer serializer = new BinaryObjectSerializer();
	
	/**
	 * Returns object serializer to be used when (de)serializing objects to/from client
	 * 
	 * @return object serializer
	 */
	public static ObjectSerializer getObjectSerializer() {
		return serializer;
	}
	
}
